package com.cz.video.website.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.cz.video.common.core.domain.PageQuery;
import com.cz.video.common.core.page.TableDataInfo;
import com.cz.video.website.domain.WebsiteSearchLog;
import com.cz.video.website.domain.WebsiteSearchLog;
import com.cz.video.website.domain.bo.WebsiteSearchLogBo;
import com.cz.video.website.domain.vo.WebsiteSearchLogVo;

/**
 * <p>
 * 搜索日志表 服务类
 * </p>
 *
 * @author LLF
 * @since 2023-10-16
 */
public interface IWebsiteSearchLogService {
    /**
     * 新增搜索日志表信息
     *
     * @param websiteSearchLog 用户信息
     * @return 结果
     */
    int insertSearchLog(WebsiteSearchLog websiteSearchLog);

    int updateSearchLog(WebsiteSearchLogBo websiteSearchLog);

    /**
     * 分页查询查找搜索日志表信息
     * @param websiteSearchLog
     * @param pageQuery
     * @return
     */
    TableDataInfo<WebsiteSearchLogVo> selectPageSearchLogList(WebsiteSearchLogBo websiteSearchLog, PageQuery pageQuery);

    int deleteById(int id);
}
